package offer;
//矩形覆盖
public class T10 {
    public int RectCover(int target) {
        if (target==0) return 0;
        int t = 0;
        int num = 1;
        for(int i = 1 ; i <=target;i++) {
            int tt =t;
            t=num;
            num+=tt;
        }
        return num;
    }
    public static void main ( String[] args) {

        System.out.println(new T10().RectCover(2));
    }
}
